package com.hehua.BridgePattern;

/**
 * 桥接模式
 * 抽象汽车类
 */
public abstract class AbstractCar {
    protected Transmission transmission;

    /**
     * 抽象运行方法
     */
    public abstract void run();

    public void setTransmission(Transmission transmission) {
        this.transmission = transmission;
    }
}
